package com.naiterui.ehp.bs.doctor.vo;

import cn.hutool.core.collection.CollectionUtil;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 医生资质信息VO
 *
 * @author 王泽浩
 * @since 1.0.0
 */
@ApiModel(value = "MedicalLicenseVO", description = "医生资质信息 VO")
public class MedicalLicenseVO extends LicenceVO implements java.io.Serializable {

    private static final long serialVersionUID = -8540982402633413447L;

    /**
     * 职业资格证号
     */
    @ApiModelProperty(value = "医生执业证号")
    private String licenseNumber;

    public boolean validateFileNum() {
        return CollectionUtil.isNotEmpty(this.getUrls());
    }

    public String getLicenseNumber() {
        return this.licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }


    @Override
    public String toString() {
        return "MedicalLicenseVO{" + "licenseNumber='" + this.licenseNumber + '}';
    }
}
